from .userapi import userapi_bp
from .loginapi import loginapi_bp
from .registerapi import register_api_bp
from .homeapi import homeapi_bp
from .orderapi import orderapi_bp
from .addressapi import addressapi_bp
from .cartapi import cartapi_bp
from .commodityapi import commodityapi_bp


def init_app(app):
    app.register_blueprint(userapi_bp)
    app.register_blueprint(loginapi_bp)
    app.register_blueprint(register_api_bp)
    app.register_blueprint(homeapi_bp)
    app.register_blueprint(orderapi_bp)
    app.register_blueprint(addressapi_bp)
    app.register_blueprint(cartapi_bp)
    app.register_blueprint(commodityapi_bp)

